Back |
Element at the back of the buffer - this[Size - 1].
|
Clear |
Clears the contents of the array. Size = 0, Capacity is unchanged.
|
Front |
Element at the front of the buffer - this[0].
|
GetEnumerator |
Returns an enumerator that iterates through this buffer.
|
PopBack |
Removes the element at the back of the buffer. Decreasing the
Buffer size by 1.
|
PopFront |
Removes the element at the front of the buffer. Decreasing the
Buffer size by 1.
|
PushBack |
|
PushFront |
|
ToArray |
Copies the buffer contents to an array, according to the logical
contents of the buffer (i.e. independent of the internal
order/contents)
|
ToArraySegments |
Get the contents of the buffer as 2 ArraySegments.
Respects the logical contents of the buffer, where
each segment and items in each segment are ordered
according to insertion.
Fast: does not copy the array elements.
Useful for methods like <c>Send(IList<ArraySegment<Byte>>)</c>.
<remarks>Segments may be empty.</remarks> |